//  This header defines a structure to hold all FILE *fp's for various results' outputs

#include "dictionary.h"
#include "iniparser.h"

#ifndef _OUTPUT_H_
#define _OUTPUT_H_

#define FNAME_MAX_SIZE  1024

typedef struct _output{

    char out_dir[FNAME_MAX_SIZE];

    FILE *fp_xe;
    char fname_xe[FNAME_MAX_SIZE];

    FILE *fp_xe_rhs;
    char fname_xe_rhs[FNAME_MAX_SIZE];

    // extra FILE *fp can be appended in the following ...
} output;


void ini_output( output *op, dictionary *dict );
void free_output( output *op );

#endif  // _OUTPUT_H_



